package controller

import "github.com/gofiber/fiber/v2"

func RegistController(app *fiber.App) {
	api := app.Group("/api")

	api.Get("/test", TestApi)

	user := api.Group("/user")
	user.Get("/all", GetAllUser)
	user.Post("/insert", InsertAnUser)
	user.Get("/", FindUserPets)

	pet := api.Group("/pet")
	pet.Post("/insert", InsertAnPet)

	api.Get("/files", StaticFile)
	api.Get("/symlink", GetSymbolicLink)
}
